package com.jprocms.module.cms.controller.admin.vote.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 投票 Excel VO
 *
 * @author jprocms
 */
@Data
public class VoteExcelVO {

    @ExcelProperty("ID")
    private Long id;

    @ExcelProperty("站点ID")
    private Long siteId;

    @ExcelProperty("标题")
    private String title;

    @ExcelProperty("描述")
    private String description;

    @ExcelProperty("开始日期")
    private Date beginDate;

    @ExcelProperty("结束日期")
    private Date endDate;

    @ExcelProperty("重复投票间隔天数(0:不可重复投票)")
    private Integer voteInterval;

    @ExcelProperty("参与人次")
    private Integer voteNum;

    @ExcelProperty("模式(1:独立访客,2:独立IP,3:独立用户)")
    private Short voteMode;

    @ExcelProperty("是否多选")
    private Boolean voteMultiple;

    @ExcelProperty("是否启用")
    private Boolean enabled;

    @ExcelProperty("创建人ID")
    private Long userId;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
